package com.cfs.po.sys;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.cfs.po.Vo;

/**
 * 用户和角色对应实体
 * 
 * @author wang.yujie
 * @since 2012-12-26
 * @version 1.0
 */
@XmlRootElement(name="UserRole")
public class UserRole extends Vo{

	/**
	 * 
	 */
	private static final long serialVersionUID = 3113133713257742635L;
	private Long id;
	private Long userid;
	private Role role;
	private List<Org> orgs ;
	private String description;
	private int levels;
	
	
	
	public int getLevels() {
		return levels;
	}

	public void setLevels(int levels) {
		this.levels = levels;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public List<Org> getOrgs() {
		return orgs;
	}

	public void setOrgs(List<Org> orgs) {
		this.orgs = orgs;
	}

}
